package com.cszjzx.member.service;

import java.util.List;

import com.cszjzx.member.po.Major;


public interface MajorService {

	/**
	 * 根据departmentId获取major
	 * @param departmentId
	 * @return
	 */
	public List<Major> getMajorsByDepartmentId(int departmentId);
	
	/**
	 * 根据departmentName获取major
	 * @param departmentName
	 * @return
	 */
	public List<Major> getMajorsByDepartmentName(String departmentName);
	
	/**
	 * 根据name和departmentId增加major
	 * @param name
	 * @param departmentId
	 * @return
	 */
	public boolean addMajor(String name, int departmentId);
	
	/**
	 * 根据id数组，批量删除major
	 * @param ids
	 * @return
	 */
	public boolean deleteMajors(int id);
	
	/**
	 * 根据系名和阶段找到班级
	 * @param departmentName
	 * @param process
	 * @return
	 */
	public List<Major> getMajorsByDeapartmentAndProcess(int departmentId, String departmentName,String process);

}
